﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProcessConfiguration.aspx.cs"
    Inherits="OC.ProcessConfiguration" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/CSS/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="/CSS/global.css" rel="stylesheet" rev="stylesheet" />
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script type="text/javascript">

        function switchTab(ProTag, ProBox) {

            for (i = 1; i <= 7; i++) {
                if ("tab" + i == ProTag) {
                    document.getElementById(ProTag).className = "currently";
                } else {
                    document.getElementById("tab" + i).className = "";
                }
                if ("Div" + i == ProBox) {
                    document.getElementById(ProBox).style.display = "block";
                } else {
                    document.getElementById("Div" + i).style.display = "none";
                }
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="place">
        <div class="placeleft">
            <i></i>您当前的位置：<a href="index.html">首页</a> >> <a href="index.html">工作台</a> >> <strong>
                <b>流程配置</b></strong>
        </div>
        <a href="#" class="shuaxin">刷新</a>
    </div>
    <table border="0" cellpadding="0" cellspacing="0" class="listTable1" width="100%">
        <tr>
            <td width="210px" valign="top">
                <asp:TreeView ID="tvProcess" runat="server" NodeIndent="2" class="listTable_1" OnTreeNodeExpanded="tvProcess_TreeNodeExpanded"
                    OnSelectedNodeChanged="tvProcess_SelectedNodeChanged">
                    <HoverNodeStyle Font-Underline="False" />
                    <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                        NodeSpacing="0px" VerticalPadding="0px" />
                    <ParentNodeStyle Font-Bold="True" ForeColor="#5555DD" />
                    <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
                </asp:TreeView>
            </td>
            <td valign="top">
                <div class="listTable_1">
                    <div class="tableTab">
                        <ul>
                            <li id="tab1" class="currently" onclick="switchTab('tab1','Div1')"><a href="#">提 醒</a></li>
                            <li id="tab2" onclick="switchTab('tab2','Div2')"><a href="#">权 限</a></li>
                            <li id="tab3" onclick="switchTab('tab3','Div3')"><a href="#">审 批</a></li>
                            <li id="tab4" onclick="switchTab('tab4','Div4')"><a href="#">工 单</a></li>
                            <li id="tab5" onclick="switchTab('tab5','Div5')"><a href="#">帮 助</a></li>
                            <li id="tab6" onclick="switchTab('tab6','Div6')"><a href="#">表单字段</a></li>
                            <li id="tab7" onclick="switchTab('tab7','Div7')"><a href="#">转 交</a></li>
                        </ul>
                    </div>
                    <div id="Div1" style="display: none;">
                        部门
                        <asp:DropDownList ID="DropDownList1" runat="server" Width="200px" class="inputBorder">
                        </asp:DropDownList>
                        <br />
                        <asp:Panel ID="panelRemind" runat="server">
                        </asp:Panel>
                    </div>
                    <div id="Div2" style="display: none;">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td colspan="2">
                                    <b>表单浏览权限</b>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="cbScanAll" runat="server" Text="所有人" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="cbScanTransactor" runat="server" Text="经办人" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:CheckBox ID="cbScanSection" runat="server" Text="发起人所在部门" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="cbScanUser" runat="server" Text="指定账号" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtScanUser" runat="server" class="inputBorder"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <br />
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td colspan="2">
                                    <b>附件浏览下载权限</b>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="cbDownloadAll" runat="server" Text="所有人" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="cbDownloadTransactor" runat="server" Text="经办人" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:CheckBox ID="cbDownloadSection" runat="server" Text="发起人所在部门" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="cbDownloadUser" runat="server" Text="指定账号" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDownloadUser" runat="server" class="inputBorder"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <asp:Button ID="btnPermissionsSave" runat="server" Text="保存" class="btnBg" OnClick="btnPermissionsSave_Click" />
                        <asp:Button ID="Button2" runat="server" Text="恢复默认值" class="btnBg" />
                    </div>
                    <div id="Div3" style="display: none;">
                        &nbsp;部门
                        <asp:DropDownList ID="DropDownList2" runat="server" Width="200px" class="inputBorder">
                        </asp:DropDownList>
                        <br />
                        <br />
                        <table class="listTable3" style="width: 70%">
                            <tr>
                                <th>
                                    多级审批配置
                                </th>
                                <th>
                                    配置内容
                                </th>
                                <th>
                                    编辑
                                </th>
                            </tr>
                            <tr>
                                <td width="180px">
                                    是否可以送同级审批
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    审批方式
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    最高级别审批设置
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    最低级别审批设置
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="Div4">
                        部门
                        <asp:DropDownList ID="ddlWorkListDepartment" runat="server" Width="200px" 
                            class="inputBorder">
                        </asp:DropDownList>
                        <br />
                        <br />
                        <table>
                            <tr>
                                <td>
                                    是否可以发起部内工单
                                </td>
                                <td>
                                    <asp:RadioButtonList ID="rblCheckYesOrNo" runat="server" 
                                        RepeatDirection="Horizontal">
                                        <asp:ListItem Value="0">是</asp:ListItem>
                                        <asp:ListItem Value="1">否</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <br />
                        <asp:Button ID="Button3" runat="server" Text="保存" class="btnBg" />
                    </div>
                    <div id="Div5" style="display: none;">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    帮助文件
                                    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                                </td>
                                <td>
                                    <asp:Button ID="Button4" runat="server" Text="删除" class="btnBg" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    选择文件
                                    <asp:TextBox ID="TextBox4" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:Button ID="Button8" runat="server" Text="浏览" class="btnBg" />
                                    <asp:Button ID="Button5" runat="server" Text="上传" class="btnBg" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="Div6" style="display: none;">
                        表单字段
                    </div>
                    <div id="Div7" style="display: none;">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    部门
                                </td>
                                <td>
                                    <asp:DropDownList ID="DropDownList4" runat="server" Width="200px" class="inputBorder">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="CheckBox9" runat="server" Text="允许转交" /><br />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="CheckBox10" runat="server" Text="转交限制" />
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox3" runat="server" class="inputBorder"></asp:TextBox>次
                                </td>
                            </tr>
                        </table>
                        <asp:Button ID="Button6" runat="server" Text="保存" class="btnBg" />
                        <asp:Button ID="Button7" runat="server" Text="恢复默认值" class="btnBg" />
                    </div>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
